package com.mdd.front.service;


import com.mdd.common.core.PageResult;
import com.mdd.front.validate.PageParam;
import com.mdd.front.vo.user.UserPointsFlowVo;
import com.mdd.front.vo.user.UserSiginDetail;

import java.util.Map;

/**
 * 用户签到服务接口类
 * @author panweiliang
 */
public interface IUserSigninService {

    /**
     * 用户签到列表
     *
     * @author panweiliang
     * @param pageParam 分页参数
     * @param params 搜索参数
     * @return PageResult<UserSigninVo>
     */
//    PageResult<UserSigninListVo> list(PageParam pageParam, Map<String, String> params);


    /**
     * 用户签到新增
     *
     * @author panweiliang
     * @param userId 参数
     */
    Map add(Integer userId);


    PageResult<UserPointsFlowVo> getPointsLog(PageParam pageParam, Integer action, Integer userId);

    UserSiginDetail detail(Integer userId);
}
